package com.video.internationalvideodisplayproject.service.lmpl;


import com.video.internationalvideodisplayproject.mapper.sysLoginUserMapper;
import com.video.internationalvideodisplayproject.pojo.sysLoginUser;
import com.video.internationalvideodisplayproject.service.sysLoginUserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class sysLoginUserServicelmpl implements sysLoginUserService {


    @Autowired
    private sysLoginUserMapper sysLoginUserMapper;


    /**
     * 根据用户名获取当前登陆信息
     * @param loginId
     * @return
     */
    @Override
    public sysLoginUser selectLoginInfoByUserId(String loginId) {
        return sysLoginUserMapper.selectLoginInfoByUserId(loginId);
    }
}
